/*
 * ByteStreamMessage.h
 *
 *  Created on: Aug 13, 2012
 *      Author: nam20485
 */

#ifndef BYTESTREAMMESSAGE_H_
#define BYTESTREAMMESSAGE_H_


#include "Message.h"
#include "Array.h"

class ByteStreamMessage: public Message
{
public:
	typedef unsigned char BYTE;

	ByteStreamMessage(BYTE* aBytes, unsigned long ulByteCount);
	virtual ~ByteStreamMessage();

	const Array<BYTE>& getBytes() const	{ return m_aBytes; 	}

protected:
	const Array<BYTE> m_aBytes;

};

#endif /* BYTESTREAMMESSAGE_H_ */
